package com.wkf.truck.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author lxb
 * @since 2021-02-14
 */
@Data
@TableName("address")
public class Address extends Model<Address> {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.ID_WORKER)
    private Long id;

    /**
     * 地址
     */
    private String address;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 联系人
     */
    private String contactPerson;

    /**
     * 手机号
     */
    private String contactPhone;

}
